$(function() {
			closeSyzPopup();
			/*关闭弹出层*/
			function closeSyzPopup() {
				var $Popup = $(".syz-Popup"),
					$PopupClose = $(".syz-Popup .popup-bottom");
				$Popup.css("display", "none");
				/*开关按钮触发一次*/
				$("#check").one("click", function() {
					var switchOne = $(this).is(":checked");
					if(switchOne) {
						$Popup.show()
					}
					$PopupClose.on("click", function() {
						$Popup.hide()
					})
				});
			}

			/*公共滑动功能*/
			TouchSlide({
				slideCell: "#slideBox",
				titCell: ".hd ul",
				mainCell: ".bd ul",
				effect: "leftLoop",
				autoPage: true //自动分页
			});
			/*公共滑动功能*/
			TouchSlide({
				slideCell: "#slideBox-one",
				titCell: ".hd ul",
				mainCell: ".bd ul",
				autoPage: true //自动分页
			});
			
			/*公共下拉功能*/
			sysSlideDownText();
			function sysSlideDownText() {
				var $onBtn = $(".details .details-inner .iner-title span");
				$onBtn.on('click', function() {
					$(this).toggleClass("on").parent().next().stop().slideToggle();
				})
			};
			/*点赞添加类名*/
			sysThumbsUp();
			function sysThumbsUp() {
				var $ThumbsUp = $('#dz');
				$ThumbsUp.on("click", function() {
					$(this).toggleClass("on")
				})
			};
		})